/**
 * <pre>
 * Title: 		Transaction.java
 * Project: 	MSBS
 * Author:		linriqing
 * Create:	 	2012-5-2 下午02:18:14
 * Copyright: 	Copyright (c) 2012
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.domain.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <pre>
 * 需要暴露给远程的服务注解类型
 * </pre>
 * @author linriqing
 * @version 1.0, 2012-5-2
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RemoteService
{
	/**
	 * @return 远程服务名称
	 */
	String value() default "";

	/**
	 * @return IOC容器bean名称
	 */
	String beanName() default "";
}
